#!/bin/bash
SERVER=localhost
PORT_RMI=83
#$1=numero de digitos de PI a ser calculado
java -cp ./bin/compute.jar:./bin/client.jar \
	-Djava.rmi.server.codebase=http://$SERVER/rmi_calc_pi/classes/ \
    -Djava.security.policy=server.policy \
	client.ComputePi $SERVER $PORT_RMI $1
